import i18n from '@/locales/index'
const { t } = i18n.global

export const columns = [
  { title: t('basicData.group'), dataIndex: 'group', key: 'group', align: 'center', width: 120 },
  { title: t('basicData.jobNo'), dataIndex: 'workStaffNo', key: 'workStaffNo', align: 'center', width: 120 },
  { title: t('basicData.name'), dataIndex: 'workStaffName', key: 'workStaffName', align: 'center', width: 120 },
  { title: t('hangManage.makeNo'), dataIndex: 'moNo', key: 'moNo', align: 'center', width: 120 },
  { title: t('basicData.styleNo'), dataIndex: 'styleNo', key: 'styleNo', align: 'center', width: 120 },
  { title: t('basicData.productType'), dataIndex: 'productType', key: 'productType', align: 'center', width: 120 },
  { title: t('basicData.processNo'), dataIndex: 'processNo', key: 'processNo', align: 'center', width: 120 },
  { title: t('basicData.processCodes'), dataIndex: 'processCode', key: 'processCode', align: 'center', width: 120 },
  { title: t('basicData.processNames'), dataIndex: 'processName', key: 'processName', align: 'center', width: 120 },
  { title: t('basicData.priceYuan'), dataIndex: 'labourCost', key: 'labourCost', align: 'center', width: 120 },
  { title: t('common.number'), dataIndex: 'quantity', key: 'quantity', align: 'right', width: 120 },
  { title: t('other.income'), dataIndex: 'income', key: 'income', align: 'center', width: 120 },
]